<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>

<!--
	Web page menu
 -->

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core" lang="en"
	xmlns:sec="http://www.springframework.org/security/tags">

<ui:composition>
	<f:view contentType="text/html">
		<h:form>
			<p:tieredMenu style="width:180px" autoDisplay="false">
				<p:submenu label="#{msg['menu.main.objectmanagement']}">
					<p:menuitem value="#{msg['menu.objectmanagement.objectclasses']}"
						url="/secured/objectclasstable.jsf" />
					<p:menuitem value="#{msg['menu.objectmanagement.object']}"
						url="/secured/objectstable.jsf" />
				</p:submenu>
				<p:menuitem value="#{msg['menu.users']}"
					url="/secured/userstable.jsf" />

					<p:menuitem value="#{msg['menu.favourites']}"
						url="/secured/favouritestable.jsf" />
					<p:menuitem value="#{msg['menu.mycalendar']}"
						url="/secured/mycalendar.jsf" />

				<p:submenu label="#{msg['menu.myprofile']}">
					<p:menuitem value="#{msg['menu.myprofile.editmyprofile']}"
						url="/secured/editmyprofile.jsf" />
					<p:menuitem value="#{msg['menu.myprofile.changemypassword']}"
						url="/secured/changemypassword.jsf" />
					<p:menuitem value="#{msg['menu.myprofile.logout']}"
						url="/j_spring_security_logout" />
				</p:submenu>
			</p:tieredMenu>
		</h:form>
	</f:view>
</ui:composition>
</html>

